\documentclass[a4paper,10pt]{article}
\usepackage[danish]{babel}
\usepackage{verbatim}
\usepackage{epsfig}
%\usepackage[dvips]{graphicx}
\usepackage[footnotesize,hang,bf]{caption2}
%\usepackage[comma]{danchar}
\usepackage{amsmath}
%\usepackage{amsarrows}
\usepackage{float}
\usepackage{fontenc}[T1]
\usepackage{array}
\usepackage{tabularx}
%\usepackage{booktabs}  %Nice tables in latex
\usepackage{fancyhdr}  %Headers in latex
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsfonts}


\usepackage[latin1]{inputenc}
%\usepackage{chemsym}   %Chemical symbols in latex
\usepackage{units}  %Enheder
\usepackage{nomencl}
\usepackage{amsfonts}

\begin{document}

\newpage
\tableofcontents \thispagestyle{empty}
\newpage

\pagenumbering{arabic}
\setcounter{page}{1}

%\Fancyheader start
\pagestyle{fancy}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
\fancyhf{}
\fancyhead[LE,RO]{\bfseries\thepage}
\fancyhead[LO]{\bfseries\rightmark}
\fancyhead[RE]{\bfseries\leftmark} %kapitel navn.
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0pt}
\addtolength{\headheight}{4pt}
\fancypagestyle{plain}{%
    \fancyhead{}
    \renewcommand{\headrulewidth}{0pt}}
%Fancyheader slut

\input{intro}
\newpage

%\input{opstilling}
%\newpage

\input{simulation}
\newpage

\input{udforelse}
\newpage

\input{konklusion}

\end{document}
